<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>新加的全局常量</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="migration56.extensions.html">« 扩展中的变动</a></li>
      <li style="float: right;"><a href="debugger.html">PHP 的调试 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="migration56.html">从 PHP 5.5.x 移植到 PHP 5.6.x</a></li>
    <li>新加的全局常量</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="migration56.constants" class="sect1">
 <h2 class="title">新加的全局常量</h2>
 
 <div class="sect2" id="migration56.constants.gd">
  <h3 class="title"><a href="book.image.html" class="link">GD</a></h3>

  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>IMG_WEBP</code></strong> （自 PHP 5.6.25 起）
    </span>
   </li>
  </ul>
 </div>
 
 <div class="sect2" id="migration56.constants.ldap">
  <h3 class="title"><a href="book.ldap.html" class="link">LDAP</a></h3>

  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>LDAP_ESCAPE_DN</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>LDAP_ESCAPE_FILTER</code></strong>
    </span>
   </li>
  </ul>
 </div>

 <div class="sect2" id="migration56.constants.openssl">
  <h3 class="title"><a href="book.openssl.html" class="link">OpenSSL</a></h3>

  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>OPENSSL_DEFAULT_STREAM_CIPHERS</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_CRYPTO_METHOD_ANY_CLIENT</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_CRYPTO_METHOD_ANY_SERVER</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_CRYPTO_METHOD_TLSv1_0_SERVER</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_CRYPTO_METHOD_TLSv1_1_SERVER</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_CRYPTO_METHOD_TLSv1_2_SERVER</code></strong>
    </span>
   </li>
  </ul>
 </div>

 <div class="sect2" id="migration56.constants.pgsql">
  <h3 class="title"><a href="book.pgsql.html" class="link">PostgreSQL</a></h3>

  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_CONNECT_ASYNC</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_CONNECTION_AUTH_OK</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_CONNECTION_AWAITING_RESPONSE</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_CONNECTION_MADE</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_CONNECTION_SETENV</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_CONNECTION_SSL_STARTUP</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_CONNECTION_STARTED</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_DML_ESCAPE</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_POLLING_ACTIVE</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_POLLING_FAILED</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_POLLING_OK</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_POLLING_READING</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PGSQL_POLLING_WRITING</code></strong>
    </span>
   </li>
  </ul>
 </div>
</div></div></div></body></html>